package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.MarktingWholeHouseCase;
import com.ecoolex.ying.space.entity.MarktingWholeHouseCaseExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface MarktingWholeHouseCaseMapper {
    long countByExample(MarktingWholeHouseCaseExample example);

    int deleteByExample(MarktingWholeHouseCaseExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarktingWholeHouseCase record);

    int insertSelective(@Param("record") MarktingWholeHouseCase record, @Param("selective") MarktingWholeHouseCase.Column ... selective);

    MarktingWholeHouseCase selectOneByExample(MarktingWholeHouseCaseExample example);

    List<MarktingWholeHouseCase> selectByExample(MarktingWholeHouseCaseExample example);

    MarktingWholeHouseCase selectByPrimaryKey(Integer id);

    MarktingWholeHouseCase selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") MarktingWholeHouseCase record, @Param("example") MarktingWholeHouseCaseExample example, @Param("selective") MarktingWholeHouseCase.Column ... selective);

    int updateByExample(@Param("record") MarktingWholeHouseCase record, @Param("example") MarktingWholeHouseCaseExample example);

    int updateByPrimaryKeySelective(@Param("record") MarktingWholeHouseCase record, @Param("selective") MarktingWholeHouseCase.Column ... selective);

    int updateByPrimaryKey(MarktingWholeHouseCase record);

    int batchInsert(@Param("list") List<MarktingWholeHouseCase> list);

    int batchInsertSelective(@Param("list") List<MarktingWholeHouseCase> list, @Param("selective") MarktingWholeHouseCase.Column ... selective);

    int logicalDeleteByExample(@Param("example") MarktingWholeHouseCaseExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}